package work.linruchang.oauthresourceproject.config.oauth;

/**
 * Oauth的授予类型
 * Oauth官方定义四种方式
 *
 * @author LinRuChang
 * @version 1.0
 * @date 2022/08/21
 * @since 1.8
 **/
public class GrantType {
    /**
     * 授予类型
     */
    public static final String GRANT_TYPE_AUTHORIZATION_CODE = "authorization_code";
    public static final String GRANT_TYPE_IMPLICIT = "implicit";
    public static final String GRANT_TYPE_CLIENT_CREDENTIALS = "client_credentials";

    public static final String GRANT_TYPE_PASSWORD = "password";

    public static final String GRANT_TYPE_REFRESH_TOKEN = "refresh_token";

}
